package concrete;
import java.util.Random;

public class Dice {
	private int die1, die2;
	private int counter;
	private Random random = new Random();
	
	public int roll() {
		die1 = random.nextInt(6) + 1;
		die2 = random.nextInt(6) + 1;
			
		return die1 + die2;
	}

	public int rollDie1() {
		die1 = random.nextInt(6) + 1;
		return die1;
	}
	public int rollDie2() {
		die2 = random.nextInt(6) + 1;
		return die2;
	}
	
	public int getDie1() {
		return die1;
	}
	public int getDie2() {
		return die2;
	}
	public int getTotalRoll() {
		return die1 + die2;
	}
	public int getcounter() {
		return counter;
	}
	public String toString() {
		return "(" + this.getDie1() + ", " + this.getDie2() + ")";
	}

}
